package com.itheima.d02_interface_features;

//接口可以多实现，弥补了单继承的局限性
public class Student  implements  IDriver, ISinger{


    @Override
    public void drive() {
        System.out.println("学生开小车");
    }

    @Override
    public void sing() {
        System.out.println("学生唱歌");
    }
}
